//
//  SaleOrderModel.h
//  quickBatchManager
//
//  Created by jack on 15/10/8.
//  Copyright © 2015年 jack. All rights reserved.
//

#import "BaseModel.h"
#import "ClientModel.h"

@interface SaleOrderModel : BaseModel
@property (nonatomic) NSInteger saleOrderId;
@property (nonatomic,copy) NSString *date;
@property (nonatomic) NSInteger clientId;
@property (copy,nonatomic) NSString *clientName;
@property  BOOL isPay;
@property  BOOL isArchive;  //是否收到单据
@property (nonatomic,copy) NSString *payType;
@property (nonatomic,copy) NSString *mobile;
@property (nonatomic,copy) NSString *remark;
@property (nonatomic,copy) NSString *saleOrderNo; //开单：单号
@property double orderPrice; //总价格
@property double totalNumber;

@property float discount;//折扣
@property double paidPrice;//已支付
@property double unpaidPrice;//未支付
@property double moLingPrice;//抹零
@property double deptPrice;//余额结算
@property double totalPrice;//折扣后的价格
@property (nonatomic,strong) NSString *tspayType;
@property BOOL isDel;
@property (nonatomic,readonly) ClientModel *client;

@end
